
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';



const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        component: () => import('@/views/home.vue'),
        meta: {
            title: '首页',
        }
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})


// router.beforeEach((to, _from, next) => {

// })


export default router
